package com.aihna.common.pay.domain.vo;

import com.aihna.common.pay.domain.SysPaymentChannel;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;



/**
 * 支付渠道视图对象 sys_payment_channel
 *
 * @author Joseph.Chen
 * @date 2024-03-09
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = SysPaymentChannel.class)
public class SysPaymentChannelVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 配置id
     */
    @ExcelProperty(value = "配置id")
    private Long id;

    /**
     * 渠道编码
     */
    @ExcelProperty(value = "渠道编码")
    private String code;

    /**
     * 渠道费率，单位：百分比
     */
    @ExcelProperty(value = "渠道费率，单位：百分比")
    private BigDecimal feeRate;

    /**
     * 应用编号
     */
    @ExcelProperty(value = "应用编号")
    private Long appId;

    /**
     * 1为正常，0为禁止
     */
    @ExcelProperty(value = "1为正常，0为禁止")
    private Integer status;

    /**
     * 支付渠道配置
     */
    @ExcelProperty(value = "支付渠道配置")
    private String config;


}
